import http from '@/common/js/httpRequest'
//获取标准list
export function getItemList (params) {
  return http({
    method: 'get',
    url: '/api/base/item/list',
    params
  })
}
// 获取额外的项目
export function getSpecialConclusionItemsByStandardId(id) {
  return http({
    method: 'post',
    url: `/api/base/item/list/special/conclusion?id=${id}`,
    openDefultdata: true
  })
}
//设置单个属性
export function setProp (data) {
  return http({
    method: 'post',
    url: '/api/base/item/set',
    data
  })
}
//获取特殊项目列表
export function getSpecialItems (params) {
  return http({
    method: 'get',
    url: '/api/base/item/list/special',
    params
  })
}
//保存特殊项目
export function saveOrUpdateSpecialItem (data) {
  return http({
    method: 'post',
    url: '/api/base/item/save/special',
    data
  })
}
